-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: try to fix test-cli-node-options #14195
Conversation
/cc @nodejs/platform-arm @nodejs/testing @sam-github |
Anecdotal number from my local Windows machine:
After PR ~4.72s |
maxBuffer: 1000000000, | ||
}; | ||
exec(process.execPath, argv, opts, common.mustCall(function(err, stdout) { | ||
const argv = ['-e', 'console.log("B")']; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If all we're doing with -e
is console.log()
perhaps consider using -p
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure.
-p 5.17s, 5.16s, 5.11s (faster by 5% with p = 2.3E-05) |
31efaf7
to
e87ba7e
Compare
https://ci.nodejs.org/job/node-test-binary-arm/9184/RUN_SUBSET=2,label=pi1-raspbian-wheezy/console
https://ci.nodejs.org/job/node-test-binary-arm/9184/RUN_SUBSET=3,label=pi1-raspbian-wheezy/console
|
irrelevant@nodejs/testing |
Needs a rebase |
e87ba7e
to
b6bb016
Compare
This is mainly to avoid timing out, currently on ok 31 parallel/test-cli-node-options
---
duration_ms: 40.833
... (https://ci.nodejs.org/job/node-test-binary-arm/RUN_SUBSET=1,label=pi1-raspbian-wheezy/9971) split files take:
/cc @nodejs/testing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM if CI is green.
* partitioning the subprocess groups * use `-e` instead of module * reduce maxBuffer PR-URL: nodejs#14195 Fixes: nodejs#14191 Reviewed-By: Rich Trott <rtrott@gmail.com>
b6bb016
to
86e7c61
Compare
* partitioning the subprocess groups * use `-e` instead of module * reduce maxBuffer PR-URL: nodejs/node#14195 Fixes: nodejs/node#14191 Reviewed-By: Rich Trott <rtrott@gmail.com>
This does not land cleanly in LTS. Please feel free to manually backport by following the guide. Please also feel free to replace do-not-land if it is being backported |
-e
instead of moduleFixes: #14191
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test,process,cli